home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q1082.dms / q1082.adf / src.lzh / Fig / amiga.c < prev    next >
C/C++ Source or Header  |  1991-07-18  |  1KB  |  61 lines

  1. extern int DEBUG;
  2.  
  3. #define noimpl(x)\
  4. x()\
  5. {\
  6. fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
  7. _abort(-1);\
  8. }
  9. #define emptyimpldebug(x)\
  10. x()\
  11. {\
  12. if (DEBUG)\
  13. fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
  14. return -1;\
  15. }
  16. #define emptyimpl(x)\
  17. x()\
  18. {\
  19. if (DEBUG)\
  20. fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
  21. return -1;\
  22. }
  23.  
  24. emptyimpldebug(panel_selected)
  25. emptyimpldebug(init_grid)
  26. extern struct Window *Window;
  27. extern struct Window * canvas_pixwin,* figwin;
  28. init_canvas()
  29. {
  30.  canvas_pixwin=figwin;
  31. }
  32. emptyimpldebug(canvas_selected)
  33. emptyimpl(canvas_sighandler)
  34. emptyimpldebug(init_msg)
  35. put_msg(a1,a2,a3,a4,a5,a6,a7,a8,a9)
  36. {
  37.  static char line[100];
  38.  sprintf(line,a1,a2,a3,a4,a5,a6,a7,a8,a9);
  39.  SetWindowTitles(figwin,-1,line);
  40.  SetWindowTitles(Window,-1,line);
  41. }
  42. emptyimpldebug(clear_message)
  43. emptyimpldebug(pw_batch_on)
  44. emptyimpldebug(pw_batch_off)
  45. emptyimpl(getwd)
  46. emptyimpldebug(pr_put)
  47.  
  48. tool_create(name)
  49. {
  50.  return openfigwin(name);
  51. }
  52.  
  53. emptyimpldebug(init_topruler)
  54. emptyimpldebug(init_sideruler)
  55. emptyimpldebug(tool_install)
  56. emptyimpldebug(tool_select)
  57. emptyimpl(pw_writebackground)
  58. emptyimpldebug(tool_destroy)
  59. emptyimpldebug(init_panel)
  60. emptyimpldebug(set_siderulermark)
  61.